﻿@namespace iMemberUI

<div style="@Style" class="@Class @(string.IsNullOrEmpty(Type)? "" : $"apple-{Type}-text") apple-text">
    @ChildContent
</div>

@code {
    [Parameter] public string? Type { get; set; }
    [Parameter, EditorRequired] public RenderFragment? ChildContent { get; set; }
    [Parameter] public string? Class { get; set; }
    [Parameter] public string? Style { get; set; }
}